<%-- 
    Document   : showByTopic
    Created on : 13.09.2010, 18:36:55
    Author     : nico
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="u" uri="http://nixis.de/jsp/tags/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<html>
    <head>
        <title>Articles in ${it.topic.name}</title>
    </head>
    <body>
        <div class="heading">
            <h1>
                <a href="<u:url value="/topic/${it.topic.id}-${it.topic.slug}"/>">
                    Articles under topic ${it.topic.name}
                </a>
            </h1>
        </div>
        <ul>
            <c:forEach var="article" items="${it.articles}">
                <li>
                    <a href="<u:url value="/article/${article.id}-${article.slug}"/>">
                        ${article.title}
                    </a>
                </li>
            </c:forEach>
        </ul>
    </body>
</html>
